<?php

require_once dirname(__FILE__).'/../lib/collectorGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/collectorGeneratorHelper.class.php';

/**
 * collector actions.
 *
 * @package    sf_sandbox
 * @subpackage collector
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $
 */
class collectorActions extends autoCollectorActions
{
  public function executeShow(sfWebRequest $request)
  {
    $this->forward404Unless($this->collector = Doctrine::getTable('Collector')->find(array($request->getParameter('id'))), sprintf('Object collector does not exist (%s).', array($request->getParameter('id'))));
  }
}
